﻿using System.Collections.Generic;

namespace Hiver.Util.Config.Model
{
    /// <summary>
    /// 应用程序配置模型
    /// </summary>
    public class ApplicationConfigModel
    {
        /// <summary>
        /// 网站标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 文件缓存路径
        /// </summary>
        public string CachePath { get; set; }
        /// <summary>
        /// 自动服务配置
        /// </summary>
        public AutoService AutoService { get; set; }
        /// <summary>
        /// 发送邮箱服务器配置
        /// </summary>
        public Email Email { get; set; }
        /// <summary>
        /// SqlSugar单数据库配置（默认）
        /// </summary>
        public Sugar Sugar { get; set; }
        /// <summary>
        /// SqlSugar多数据库配置
        /// </summary>
        public List<Sugars> Sugars { get; set; }
        /// <summary>
        /// MongoDB配置
        /// </summary>
        public List<Mongo> Mongo { get; set; }
        /// <summary>
        /// 单点Redis配置
        /// </summary>
        public Redis Redis { get; set; }
        /// <summary>
        /// Redis哨兵模型配置
        /// </summary>
        public RedisSentinel RedisSentinel { get; set; }
        /// <summary>
        /// RabbitMQ配置
        /// </summary>
        public Rabbitmq Rabbitmq { get; set; }
    }
}